import React from 'react';
import classnames from 'classnames';

export default class View extends React.Component {
    static propTypes = {
        label: React.PropTypes.any.isRequired,
        name: React.PropTypes.string.isRequired,
        tipsLabel: React.PropTypes.any,
        tipsType: React.PropTypes.string
    };

    static defaultProps = {
        tipsType: 'top'
    }

    constructor(props, context) {

        super(props, context);


        // init state;
        this.state = {

        };
    }
    componentWillMount() {
        this._isMounted = true;

    }

    componentDidMount() {

    }

    componentWillUnmount() {
        this._isMounted = false;
    }

    render() {
        const classNames = classnames({
            'orin-sw-retab-root': true
        });
        return (
            <div className={ classNames } >
                 {this.props.children}
            </div>
        );
    }
}
